/// <reference path="./index.d.ts" />
import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'

export const routes: Array<RouteRecordRaw> = [
    {
        path: '/',
        name: 'download',
        component: () => import(/* webpackChunkName: "forumHome" */ '../views/download.vue'),
        meta: {
            title: "下载给球体育"
        }
    },
    {
        path: '/about',
        name: 'about',
        component: () => import(/* webpackChunkName: "forumHome" */ '../views/about.vue'),
        meta: {
            title: "关于我们"
        }
    },
    {
        path: '/contact',
        name: 'contact',
        component: () => import(/* webpackChunkName: "forumHome" */ '../views/contact.vue'),
        meta: {
            title: "联系我们"
        }
    }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router
